package JFrame;

import java.awt.BorderLayout;
import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JTextField;
import java.awt.Toolkit;

public class sellField extends JDialog {

	private final JPanel contentPanel = new JPanel();
	private JTextField textField;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		try {
			sellField dialog = new sellField();
			dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
			dialog.setVisible(true);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	/**
	 * Create the dialog.
	 */
	public sellField() {
		setIconImage(Toolkit.getDefaultToolkit().getImage(sellField.class.getResource("/images/logo.png")));
		setBounds(100, 100, 365, 241);
		getContentPane().setLayout(new BorderLayout());
		contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
		getContentPane().add(contentPanel, BorderLayout.CENTER);
		contentPanel.setLayout(null);
		{
			JButton btnNewButton = new JButton("\u786E\u5B9A");
			btnNewButton.setBounds(72, 169, 76, 23);
			contentPanel.add(btnNewButton);
		}
		{
			JButton btnNewButton_1 = new JButton("\u53D6\u6D88");
			btnNewButton_1.setBounds(191, 169, 76, 23);
			contentPanel.add(btnNewButton_1);
		}
		{
			JLabel lblNewLabel = new JLabel("\u8BF7\u8F93\u5165\u5356\u51FA\u6570\u91CF\uFF1A");
			lblNewLabel.setBounds(33, 43, 134, 23);
			contentPanel.add(lblNewLabel);
		}
		{
			JLabel lblNewLabel_1 = new JLabel("\u6B64\u4EA4\u6613\u7684\u91D1\u989D\u4E3A\uFF1A");
			lblNewLabel_1.setBounds(33, 76, 134, 23);
			contentPanel.add(lblNewLabel_1);
		}
		{
			textField = new JTextField();
			textField.setBounds(191, 45, 97, 21);
			contentPanel.add(textField);
			textField.setColumns(10);
		}
		{
			JLabel lblNewLabel_2 = new JLabel("New label");
			lblNewLabel_2.setBounds(191, 78, 95, 19);
			contentPanel.add(lblNewLabel_2);
		}
	}

}
